<template>
	<view>
		<web-view :src="url"></web-view>
	</view>
</template>
<script>
import { baseUrl } from '@/common/env.js'
export default {
	data() {
		return {
			url: '',
		}
	},
	onLoad(options) {
		console.log(baseUrl(), '---baseUrl')
		const url = `${options.url}?Authorization=${escape(
			options.Authorization
		)}&userId=${options.userId}&tenantId=${options.tenantId}&paramId=${
			options.paramId
		}&instanceId=${options.instanceId}&pdfUrl=${
			options.pdfurl
		}&baseUrl=${baseUrl()}`
		this.url = url
		console.log(this.url, '---this.url 000')
	},
}
</script>
